Term collections in λ and ρ - calculi

نویسنده

  • Germain Faure
چکیده

The ρ-calculus, also called the rewriting calculus, originally emerged from di erent motivations and from a di erent community than the λ-calculus. It was introduced to make explicit all the ingredients of rewriting such as rule application and result [CK01]. In ne the ρ-calculus provides an extension of the λ-calculus with additional concepts originating from rewriting and functional programing, namely, pattern-matching, and a structure construction which provides collections of terms. There are several aspects of the ρ-calculus that have been studied so far. The dynamics of the computations has been studied [FMS05] by de ning interaction nets for the ρ-calculus. We can mention also the study of type systems [BCKL03,Wac04] and its application in a proof theory that handles rich proof-terms in the generalized deduction modulo [Wac05]. On a more practical side, the ρ-calculus has been used to give a semantics both to rewrite based languages [CK01] such as ELAN [BKK98] and to the atelier FOCAL [Mod,Pre03], an environment dedicated to the development of certied computer algebra libraries (ongoing works). Also, the ρ-calculus has been used to implement e cient decision procedures [SDK03]. The management of collections of terms is crucial in calculi like the ρ-calculus, in logic programming or in web query languages. Typically, matching constraints that are involved in the calculus may have more than one solution this is also the case for example in programming language like TOM [Tom], Maude [Mau], ASF+SDF [ASF] or ELAN [Ela] and thus generates a collection of results. As previously mentioned, the ρ-calculus extends the syntax and the operational semantics of the λ-calculus by providing matching constraints and collections of terms. For example, let + be a commutative symbol, x, y be variables and a, b constants. In the ρ-calculus, the pattern-matching constraint x[x + y a + b], that is the application of the matching constraint x+y a+ b to x, reduces to a collection of terms consisting of the two terms a and b and denoted a o b. In fact, the two solutions of the pattern matching problem x + y a + b, respectively {x← a, y ← b} and {x← b, y ← a}, are both applied to the body of the pattern matching constraint x and then we get the two results a and b. The corresponding evaluation rule is given by:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Type Theory 2011 – Parigot ’ s λ μ - calculus Robbert

1 Terms and types Whereas most other systems with control, for example λ C [FF86, Gri90] or λ ∆ [RS94], use ordinary λ-variables to represent continuations, λ µ distinguishes λ-variables from continuation variables. Also, the terms are of a more restricted shape because the system distinguishes between terms and commands. Definition 1.1. Simple types are inductively defined over an infinite set...

متن کامل

A note on preservation of strong normalisation in the λ-calculus

An auxiliary notion of reduction ρ on the λ-terms preserves strong normalisation if all strongly normalising terms for β are also strongly normalising for β∪ρ. We give a sufficient condition for ρ to preserve strong normalisation. As an example of application, we check easily the sufficient condition for Regnier’s σ-reduction rules and the “assoc”-reduction rule inspired by calculi with let-exp...

متن کامل

Stability of Atoms and Molecules in an Ultrarelativistic Thomas–fermi–weizsäcker Model

In the non relativistic case, some emphasis has been placed on the question of an appropriate choice of the coefficient λ of the gradient term connected to the kinetic energy. The non relativistic gradient correction λ(∇ρ)2/ρ was initially derived by Weizsäcker [14] with a value λ = 1, whereas the systematic gradient expansion by Kirznits [7, 6] leads to λ = 1/9. In the derivation of Tomishima ...

متن کامل

An interpretative approach for gas zone identification and lithology discrimination using derivatives of λ∗ρ and μ∗ρ attributes

The “λ”term, or incompressibility, is sensitive to pore fluid, whereas the “μ” term, or rigidity, is sensitive to the rock matrix as described in the original paper by Goodway et al(1997) that gives the physical interpretation of the lambda λ and mu (μ) attributes. As per the theory, it is impossible to de-couple the effects of density from” λ” and “μ“when extracting this information from sei...

متن کامل

A Third Order Nonlocal Boundary Value Problem at Resonance

We consider the third-order nonlocal boundary value problem u ′′′ (t) = f (t, u(t)), a.e. in (0, 1), u(0) = 0, u ′ (ρ) = 0, u ′′ (1) = λ[u ′′ ], where 0 < ρ < 1, the nonlinear term f satisfies Carathéodory conditions with respect to L 1 [0, T ], λ[v] = 1 0 v(t) dΛ(t), and the functional λ satisfies the resonance condition λ[1] = 1. The existence of a solution is established via Mawhin's coincid...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006